package com.bestdreamer;

public class MainClass {


   public static void main(String[] args) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
       Fruit apple = FruitFactory.getFruit("Apple");
       Fruit banana = FruitFactory.getFruit("Banana");
       apple.get();
       banana.get();
   }
}
